﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Code_Group3.WEBFORM
{
    public partial class Error : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (Session["Error"] == "1")
            {
                lblErr.Text = "Accounts can not amount to make a withdrawal";
            } 
            if (Session["Error"] == "2")
            {
                lblErr.Text = "Amount must be divisible by 50.000";
            }
        }
    }
}